using System;
using System.Collections.Generic;
using System.Text;

namespace MM.Entities
{

    public class TON_KHO
    {
        protected long _id;
        protected int _maChiTiet;
        protected string _maKho = String.Empty;
        protected string _maKhoThamChieuSAP = String.Empty;
        protected string _maVTPT = String.Empty;
        protected int _maTrangThai;
        protected float _soLuong;
        protected DateTime _ngay;
        protected string _maGiaoTacKho = String.Empty;

        protected string _tenVTPT = "";
        protected string _tenKho = "";
        protected string _tenTrangThai = "";

        protected DateTime _fromDate;
        protected DateTime _toDate;

        protected float _dauKy = 0;
        protected float _nhap = 0;
        protected float _xuat = 0;
        protected float _cuoiKy = 0;
        protected string _sophieu = "";
        protected string _sophieuGoc = "";
        protected string _sophieuHuy = "";

        protected VAT_TU_PHU_TUNG _oVTPT = new VAT_TU_PHU_TUNG();

        protected string _nhomVTPTFrom = "";
        protected string _nhomVTPTTo = "";
        protected string _maVTPTFrom = "";
        protected string _maVTPTTo = "";
        protected string _plantFrom = "";
        protected string _plantTo = "";
        protected string _maKhoFrom = "";
        protected string _maKhoTo = "";
        protected string _valuationType = "";
        protected int _thietYeu = 0;
        protected string _dvt = "";

        protected string _cacThuocTinh = "";

        public TON_KHO()
        {

        }

       

        #region Public Properties
        public long MaTonKho
        {
            get { return _id; }
            set { _id = value; }
        }

        public int MaChiTiet
        {
            get { return _maChiTiet; }
            set { _maChiTiet = value; }
        }

        public string MaKho
        {
            get { return _maKho; }
            set { _maKho = value; }
        }

        public string MaVTPT
        {
            get { return _maVTPT; }
            set { _maVTPT = value; }
        }

        public int MaTrangThai
        {
            get { return _maTrangThai; }
            set { _maTrangThai = value; }
        }

        public float SoLuong
        {
            get { return _soLuong; }
            set { _soLuong = value; }
        }

        public DateTime Ngay
        {
            get { return _ngay; }
            set { _ngay = value; }
        }

        public string MaGiaoTacKho
        {
            get { return _maGiaoTacKho; }
            set { _maGiaoTacKho = value; }
        }

        public string TenVTPT
        {
            get { return _tenVTPT; }
            set { _tenVTPT = value; }
        }

        public string TenKho
        {
            get { return _tenKho; }
            set { _tenKho = value; }
        }

        public string TenTrangThai
        {
            get { return _tenTrangThai; }
            set { _tenTrangThai = value; }
        }

        public DateTime FromDate
        {
            get { return _fromDate; }
            set { _fromDate = value; }
        }

        public DateTime ToDate
        {
            get { return _toDate; }
            set { _toDate = value; }
        }

        public float DauKy
        {
            get { return _dauKy; }
            set { _dauKy = value; }
        }

        public float Nhap
        {
            get { return _nhap; }
            set { _nhap = value; }
        }

        public float Xuat
        {
            get { return _xuat; }
            set { _xuat = value; }
        }

        public float CuoiKy
        {
            get { return _cuoiKy; }
            set { _cuoiKy = value; }
        }
        public string SoPhieu
        {
            get { return _sophieu; }
            set { _sophieu = value; }
        }

        public VAT_TU_PHU_TUNG oVTPT
        {
            get { return _oVTPT; }
            set { _oVTPT = value; }
        }

        public string NhomVTPTFrom
        {
            get { return _nhomVTPTFrom; }
            set { _nhomVTPTFrom = value; }
        }
        public string NhomVTPTTo
        {
            get { return _nhomVTPTTo; }
            set { _nhomVTPTTo = value; }
        }
        public string MaVTPTFrom
        {
            get { return _maVTPTFrom; }
            set { _maVTPTFrom = value; }
        }
        public string MaVTPTTo
        {
            get { return _maVTPTTo; }
            set { _maVTPTTo = value; }
        }
        public string PlantFrom
        {
            get { return _plantFrom; }
            set { _plantFrom = value; }
        }
        public string PlantTo
        {
            get { return _plantTo; }
            set { _plantTo = value; }
        }
        public string MaKhoFrom
        {
            get { return _maKhoFrom; }
            set { _maKhoFrom = value; }
        }
        public string MaKhoTo
        {
            get { return _maKhoTo; }
            set { _maKhoTo = value; }
        }

        public string MaKhoThamChieuSAP
        {
            get { return _maKhoThamChieuSAP; }
            set { _maKhoThamChieuSAP = value; }
        }

        public string ValuationType
        {
            get { return _valuationType; }
            set { _valuationType = value; }
        }

        public string SoPhieuGoc
        {
            get { return _sophieuGoc; }
            set { _sophieuGoc = value; }
        }

        public string SoPhieuHuy
        {
            get { return _sophieuHuy; }
            set { _sophieuHuy = value; }
        }

        public int ThietYeu
        {
            get { return _thietYeu; }
            set { _thietYeu = value; }
        }

        public string TenCacThuocTinh
        {
            get { return _cacThuocTinh; }
            set { _cacThuocTinh = value; }
        }

        public string DonViTinh
        {
            get { return _dvt; }
            set { _dvt = value; }
        }
        #endregion

        
    }

}
